#ifndef _HDR_SHADER
#define _HDR_SHADER

#include <glew/glew.h>

class shader{

    protected:
        GLuint vtx_shader;
        GLuint pix_shader;
        GLuint program;

    public:
        shader(char*,char*);
        ~shader();

        bool valid();

        GLuint getVTX();
        GLuint getPIX();
        GLuint getPRG();

        static void bind(shader* =NULL);
};

#endif
